package com.zmzncs.lmtc.module.customer.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zmzncs.lmtc.module.customer.pojo.customer.Customer;
import com.zmzncs.lmtc.module.customer.pojo.customer.CustomerDTO;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 客户-客户信息 Mapper 接口
 * </p>
 *
 * @author 任建波
 * @since 2020-08-26
 */
@Repository
public interface CustomerDao extends BaseMapper<Customer> {

    /**客户详情*/
    CustomerDTO getCustomerById(Long id);
    /**根据openid查询客户*/
    CustomerDTO getCustomerByOpenId(String openid);

}
